package com.art.wisdom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 做测试
 * @author xiezhiwei
 * @email xiezhiwei0314@126.com
 *
 */
@Component
@ConfigurationProperties
@PropertySource("classpath:myConfig.yml") 
public class Service {
	
	private String name;
	
	private String port1;
	
	private String path1;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPort1() {
		return port1;
	}

	public void setPort1(String port1) {
		this.port1 = port1;
	}

	public String getPath1() {
		return path1;
	}

	public void setPath1(String path1) {
		this.path1 = path1;
	}

	
}
